<form name="form" action="?module=backoffice&action=AjaxContext&href={$modal.href}" class="nyroModal" method="POST">
{t assignTo=title}Add embeded media{/t}
{include file="$MODULES_DIR/backoffice/templates/block/modal/ModalTitle.html" title=$title}

<div style="height:340px;" id="modalContent">
<table class="listTable">
    <tr>
        <td>
            <label for="form_label_title">{t}The video's title{/t}</label>
        </td>
        <td>
            <input type="text" id="form_label_title" name="form[title]" {if isset($modal.formValue.title)}value="{$modal.formValue.title}"{/if} style="width:100px" />
            {if isset($errors.title)}<span>{icon name="warning.png"}{$errors.title}</span>{/if}
        </td>
    </tr>
    <tr>
        <td>
            <label for="form_label_link">{t}The video's links{/t}</label>
        </td>
        <td>
            <input type="text" id="form_label_link" name="form[link]" style="width:400px" />
            {if isset($errors.link)}<span>{icon name="warning.png"}{$errors.link}</span>{/if}
        </td>
    </tr>
</table>
{include file="$MODULES_DIR/backoffice/templates/block/modal/ModalFooter.html"}
</form>